﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserStatus.ascx.cs" Inherits="TestApp.Controls.UserStatus" %>

<div class="loginDisplay">
	<asp:Panel ID="Visitor" runat="server">
            [ <a href="~/Account/Login.aspx" ID="LoginStatus" runat="server">Log In</a> |
			<asp:HyperLink ID="RegisterHyperLink" runat="server" EnableViewState="false" NavigateUrl="~/Account/Register.aspx">Register</asp:HyperLink> ]
	</asp:Panel>
	<asp:Panel ID="LoggedIn" runat="server">
            Welcome <span class="bold"><asp:Label ID="DisplayName" runat="server" /></span>!
            [ <a href="~/Account/Settings.aspx" ID="Settings" runat="server">Settings</a> | <a href="~/Account/Logout.aspx" ID="LoginOut" runat="server">Log out</a> ]
	</asp:Panel>
</div>

